// 技术类型

import mongoose from 'mongoose'

// 1.Schema
const schema = new mongoose.Schema({
    typename:{
        type:String,
        unique: true,
    },
    color: {
        type: String
    }
})
// 2.Model

export const typeModel = mongoose.model('types',schema)